#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>

typedef int DataType;

typedef struct QueueNode
{
	struct QueueNode* next;
	DataType val;
}QueueNode;

typedef struct Queue
{
	QueueNode* head;
	QueueNode* tail;
}Queue;

void QueueInit(Queue* pq);

void QueuePush(Queue* pq, DataType x);

void QueuePop(Queue* pq);

void QueueDestroy(Queue* pq);